/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package POJO;

import java.io.Serializable;

/**
 *
 * @author nhóm 1 - 10HT
 */
public class LoaiSanPham implements Serializable {

	private int _maLSP;
	private String _tenLSP;

	public LoaiSanPham() {
		this._maLSP = 0;
		this._tenLSP = "";
	}

	public LoaiSanPham(int _maLSP, String _tenLSP) {
		this._maLSP = _maLSP;
		this._tenLSP = _tenLSP;
	}

	public int getMaLSP() {
		return _maLSP;
	}

	public void setMaLSP(int _maLSP) {
		this._maLSP = _maLSP;
	}

	public String getTenLSP() {
		return _tenLSP;
	}

	public void setTenLSP(String _tenLSP) {
		this._tenLSP = _tenLSP;
	}

	@Override
	public String toString() {
		return this._tenLSP;
	}
}
